package pers.zc.activiti.maindemo;

/**
 * @Annotion:
 * @ClassName: finalClass
 * @Author: Lin Fuyuan
 * @Date: 2019/10/30  9:16
 * @Version: 1.0
 */
public class zfinalClass {
    public static void append(StringBuffer a,StringBuffer b){
        a.append("world");
        b = a;
    }
    public static void main(String[] args) {
        final StringBuffer a = new StringBuffer("hello");
        StringBuffer b = new StringBuffer("hello");
        append(a, b);
        System.out.println(a);
        System.out.println(b);
    }

}
